package com.ruoyi.common.core.domain.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 服务同步表
 * </p>
 *
 * @author wahaha
 * @since 2024-10-17
 */
@TableName("serve_sync")
@ApiModel(value = "ServeSync对象", description = "服务同步表")
public class ServeSync implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("服务id")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    @ApiModelProperty("服务项名称")
    private String serveItemName;

    @ApiModelProperty("服务类型id")
    private Long serveTypeId;

    @ApiModelProperty("服务项id")
    private Long serveItemId;

    @ApiModelProperty("城市编码")
    private String cityCode;

    @ApiModelProperty("价格")
    private BigDecimal price;

    @ApiModelProperty("是否为热门，0非热门，1热门")
    private Integer isHot;

    @ApiModelProperty("更新为热门的时间戳")
    private Long hotTimeStamp;

    @ApiModelProperty("服务项排序字段")
    private Integer serveItemSortNum;

    @ApiModelProperty("服务类型排序字段")
    private Integer serveTypeSortNum;

    @ApiModelProperty("服务类型名称")
    private String serveTypeName;

    @ApiModelProperty("服务类型图片")
    private String serveTypeImg;

    @ApiModelProperty("服务类型icon")
    private String serveTypeIcon;

    @ApiModelProperty("服务数量单位")
    private Integer unit;

    @ApiModelProperty("服务项详情图片")
    private String detailImg;

    @ApiModelProperty("服务项图片")
    private String serveItemImg;

    @ApiModelProperty("服务项图标")
    private String serveItemIcon;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    public String getServeItemName() {
        return serveItemName;
    }

    public void setServeItemName(String serveItemName) {
        this.serveItemName = serveItemName;
    }
    public Long getServeTypeId() {
        return serveTypeId;
    }

    public void setServeTypeId(Long serveTypeId) {
        this.serveTypeId = serveTypeId;
    }
    public Long getServeItemId() {
        return serveItemId;
    }

    public void setServeItemId(Long serveItemId) {
        this.serveItemId = serveItemId;
    }
    public String getCityCode() {
        return cityCode;
    }

    public void setCityCode(String cityCode) {
        this.cityCode = cityCode;
    }
    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }
    public Integer getIsHot() {
        return isHot;
    }

    public void setIsHot(Integer isHot) {
        this.isHot = isHot;
    }
    public Long getHotTimeStamp() {
        return hotTimeStamp;
    }

    public void setHotTimeStamp(Long hotTimeStamp) {
        this.hotTimeStamp = hotTimeStamp;
    }
    public Integer getServeItemSortNum() {
        return serveItemSortNum;
    }

    public void setServeItemSortNum(Integer serveItemSortNum) {
        this.serveItemSortNum = serveItemSortNum;
    }
    public Integer getServeTypeSortNum() {
        return serveTypeSortNum;
    }

    public void setServeTypeSortNum(Integer serveTypeSortNum) {
        this.serveTypeSortNum = serveTypeSortNum;
    }
    public String getServeTypeName() {
        return serveTypeName;
    }

    public void setServeTypeName(String serveTypeName) {
        this.serveTypeName = serveTypeName;
    }
    public String getServeTypeImg() {
        return serveTypeImg;
    }

    public void setServeTypeImg(String serveTypeImg) {
        this.serveTypeImg = serveTypeImg;
    }
    public String getServeTypeIcon() {
        return serveTypeIcon;
    }

    public void setServeTypeIcon(String serveTypeIcon) {
        this.serveTypeIcon = serveTypeIcon;
    }
    public Integer getUnit() {
        return unit;
    }

    public void setUnit(Integer unit) {
        this.unit = unit;
    }
    public String getDetailImg() {
        return detailImg;
    }

    public void setDetailImg(String detailImg) {
        this.detailImg = detailImg;
    }
    public String getServeItemImg() {
        return serveItemImg;
    }

    public void setServeItemImg(String serveItemImg) {
        this.serveItemImg = serveItemImg;
    }
    public String getServeItemIcon() {
        return serveItemIcon;
    }

    public void setServeItemIcon(String serveItemIcon) {
        this.serveItemIcon = serveItemIcon;
    }

    @Override
    public String toString() {
        return "ServeSync{" +
            "id=" + id +
            ", serveItemName=" + serveItemName +
            ", serveTypeId=" + serveTypeId +
            ", serveItemId=" + serveItemId +
            ", cityCode=" + cityCode +
            ", price=" + price +
            ", isHot=" + isHot +
            ", hotTimeStamp=" + hotTimeStamp +
            ", serveItemSortNum=" + serveItemSortNum +
            ", serveTypeSortNum=" + serveTypeSortNum +
            ", serveTypeName=" + serveTypeName +
            ", serveTypeImg=" + serveTypeImg +
            ", serveTypeIcon=" + serveTypeIcon +
            ", unit=" + unit +
            ", detailImg=" + detailImg +
            ", serveItemImg=" + serveItemImg +
            ", serveItemIcon=" + serveItemIcon +
        "}";
    }
}
